package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "work")
public class Work implements Serializable {

        private ObjectId id;
        private Long surveyId;         // 试题id
        private Long reportId;       // 报告id
        private Long userId;
        private String name;         // 题类名称

        private Integer surveyType;     // 问卷类型  1-初级灵魂题，2-中级灵魂题 3-高级灵魂题
}
